package com.Maykk.Demo02;

/**
 * @ClassName: Demo02
 * @Description: TODO sleep 方法测试
 * @Author: MaykkStar@163.com
 */
public class DemoTest {
    public static void main(String[] args) {
        MyRunnbale myRun = new MyRunnbale();
        // MyThread mt01 = new MyThread(myRun,"黄固");
        // MyThread mt02 = new MyThread(myRun,"段智兴");
        // MyThread mt03 = new MyThread(myRun,"欧阳锋");
        // MyThread mt04 = new MyThread(myRun,"洪七公");

        Thread mt01 = new Thread(myRun,"黄固");
        Thread mt02 = new Thread(myRun,"段智兴");
        Thread mt03 = new Thread(myRun,"欧阳锋");
        Thread mt04 = new Thread(myRun,"洪七公");

        mt01.start();
        mt02.start();
        mt03.start();
        mt04.start();
    }
}
